import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SBuffer
    
    export  class SBuffer
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.code);
            arg1.writeDate(this.cdDt);
            arg1.writeDate(this.beginDt);
            arg1.writeDate(this.endDt);
            arg1.writeInt(this.value);
            arg1.writeInt(this.count);
            arg1.writeInt(this.effect);
            arg1.writeInt(this.remainSec);
            arg1.writeInt(this.valueTime);
            arg1.writeInt(this.rate);
            arg1.writeInt(this.maxEffect);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.code = arg1.readInt();
            this.cdDt = arg1.readDate();
            this.beginDt = arg1.readDate();
            this.endDt = arg1.readDate();
            this.value = arg1.readInt();
            this.count = arg1.readInt();
            this.effect = arg1.readInt();
            this.remainSec = arg1.readInt();
            this.valueTime = arg1.readInt();
            this.rate = arg1.readInt();
            this.maxEffect = arg1.readInt();
            return;
        }

        public /* var */code: int;

        public /* var */cdDt: Date;

        public /* var */beginDt: Date;

        public /* var */endDt: Date;

        public /* var */value: int;

        public /* var */count: int;

        public /* var */effect: int;

        public /* var */remainSec: int;

        public /* var */valueTime: int;

        public /* var */rate: int;

        public /* var */maxEffect: int;
    }
